-
Notifications
You must be signed in to change notification settings - Fork 373
mTLS Pop package for msi related flows with a new mtls api #5413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
{ | ||
// Preserve Win32 error code for diagnosis | ||
int err = Marshal.GetLastWin32Error(); | ||
throw new Win32Exception(err, $"Unable to load {path}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to remove throw, and silently fail, maybe with a warning. But using this for testing now.
a5d3073
to
6d865aa
Compare
6d865aa
to
0128add
Compare
<!--This should be passed from the VSTS build--> | ||
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">$(MsalInternalVersion)</MicrosoftIdentityClientVersion> | ||
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion--> | ||
<Version>$(MicrosoftIdentityClientVersion)</Version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this go as "-preview" ?
@@ -0,0 +1 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this empty file needed?
@@ -1,4 +1,4 @@ | |||
// Copyright (c) Microsoft Corporation. All rights reserved. | |||
// Copyright (c) Microsoft Corporation. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all the changes in this file are related to spacing, are these changes necessary?
This package contains binaries needed to use managed identity proof-of-possession (MTLS PoP) flows in applications using MSAL.NET. | ||
</Description> | ||
<PackageTags>Microsoft Authentication Library Managed Identity MSAL Proof-of-Possession</PackageTags> | ||
<Product>Microsoft Authentication Library Broker</Product> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the Product name here include 'Broker'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Fixes # Adds Managed Identity Pop package
Changes proposed in this request
This pull request adds support for attestation and key import functionality to the solution, primarily by introducing the new
Microsoft.Identity.Client.MtlsPop
project. It includes managed wrappers for native attestation operations, logging, error handling, and result representation, as well as updates to the solution and build pipeline to integrate and sign the new NuGet package.Attestation and Key Import Functionality
Microsoft.Identity.Client.MtlsPop
to the solution, providing managed wrappers for native attestation operations viaAttestationClient
,AttestationClientLib
, and related types. This enables secure key attestation and import using native libraries. [1] [2] [3] [4] [5] [6]Build and Solution Integration
LibsAndSamples.sln
to includeMicrosoft.Identity.Client.MtlsPop
andKeyGuardAttestation
projects, with full configuration mappings for build and platform targets. [1] [2] [3]build/template-pack-and-sign-all-nugets.yaml
) to pack and sign the newMicrosoft.Identity.Client.MtlsPop
assembly, ensuring it is included in release artifacts.Miscellaneous
CHANGELOG.md
from the solution items inLibsAndSamples.sln
.Testing
integration tests
Performance impact
none
Documentation